<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>Crawler: Crawler::Worker Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Crawler
   &#160;<span id="projectnumber">1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_crawler_1_1_worker.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_crawler_1_1_worker-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Crawler::Worker Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_worker_8hpp_source.html">Worker.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa104c31810cb5cf5511225b1dcf8e79e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker.html#aa104c31810cb5cf5511225b1dcf8e79e">Worker</a> (<a class="el" href="class_crawler_1_1_worker_manager.html">Crawler::WorkerManager</a> &amp;workerManager)</td></tr>
<tr class="memdesc:aa104c31810cb5cf5511225b1dcf8e79e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#aa104c31810cb5cf5511225b1dcf8e79e">More...</a><br /></td></tr>
<tr class="separator:aa104c31810cb5cf5511225b1dcf8e79e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2939d4da20ac77b780909ce7d6ec382b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker.html#a2939d4da20ac77b780909ce7d6ec382b">Worker</a> (const <a class="el" href="class_crawler_1_1_worker.html">Worker</a> &amp;worker)=delete</td></tr>
<tr class="memdesc:a2939d4da20ac77b780909ce7d6ec382b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="#a2939d4da20ac77b780909ce7d6ec382b">More...</a><br /></td></tr>
<tr class="separator:a2939d4da20ac77b780909ce7d6ec382b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a971eeab5ffda801b6045e4fe79e9ff0e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker.html#a971eeab5ffda801b6045e4fe79e9ff0e">Worker</a> (<a class="el" href="class_crawler_1_1_worker.html">Worker</a> &amp;&amp;worker)=delete</td></tr>
<tr class="memdesc:a971eeab5ffda801b6045e4fe79e9ff0e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move constructor.  <a href="#a971eeab5ffda801b6045e4fe79e9ff0e">More...</a><br /></td></tr>
<tr class="separator:a971eeab5ffda801b6045e4fe79e9ff0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0e0e7720897362f6cf040dea3a0f0ea"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_crawler_1_1_worker.html">Worker</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker.html#ab0e0e7720897362f6cf040dea3a0f0ea">operator=</a> (const <a class="el" href="class_crawler_1_1_worker.html">Worker</a> &amp;worker)=delete</td></tr>
<tr class="memdesc:ab0e0e7720897362f6cf040dea3a0f0ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy assignment operator.  <a href="#ab0e0e7720897362f6cf040dea3a0f0ea">More...</a><br /></td></tr>
<tr class="separator:ab0e0e7720897362f6cf040dea3a0f0ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a53de929d2e4091555f775a6b62138b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_crawler_1_1_worker.html">Worker</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker.html#a3a53de929d2e4091555f775a6b62138b">operator=</a> (<a class="el" href="class_crawler_1_1_worker.html">Worker</a> &amp;&amp;<a class="el" href="class_crawler_1_1_worker.html">Worker</a>)=delete</td></tr>
<tr class="memdesc:a3a53de929d2e4091555f775a6b62138b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move assignment operator.  <a href="#a3a53de929d2e4091555f775a6b62138b">More...</a><br /></td></tr>
<tr class="separator:a3a53de929d2e4091555f775a6b62138b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd9a803c234ccb0cf90c692e99186392"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_crawler_1_1_worker_manager.html">Crawler::WorkerManager</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker.html#abd9a803c234ccb0cf90c692e99186392">getWorkerManager</a> ()</td></tr>
<tr class="memdesc:abd9a803c234ccb0cf90c692e99186392"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns reference to worker manager.  <a href="#abd9a803c234ccb0cf90c692e99186392">More...</a><br /></td></tr>
<tr class="separator:abd9a803c234ccb0cf90c692e99186392"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b928f1df164a8bae91fb4805ff8721f"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_crawler_1_1_worker_manager.html">Crawler::WorkerManager</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker.html#a9b928f1df164a8bae91fb4805ff8721f">getWorkerManager</a> () const </td></tr>
<tr class="memdesc:a9b928f1df164a8bae91fb4805ff8721f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns reference to worker manager.  <a href="#a9b928f1df164a8bae91fb4805ff8721f">More...</a><br /></td></tr>
<tr class="separator:a9b928f1df164a8bae91fb4805ff8721f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8cffde69eb4e98a721f7166f16e51c07"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_crawler_1_1_website.html">Crawler::Website</a> *const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker.html#a8cffde69eb4e98a721f7166f16e51c07">getWebsite</a> ()</td></tr>
<tr class="memdesc:a8cffde69eb4e98a721f7166f16e51c07"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the assigned website.  <a href="#a8cffde69eb4e98a721f7166f16e51c07">More...</a><br /></td></tr>
<tr class="separator:a8cffde69eb4e98a721f7166f16e51c07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae80bb21bbaf941125b39a17193996207"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_crawler_1_1_website.html">Crawler::Website</a> *const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker.html#ae80bb21bbaf941125b39a17193996207">getWebsite</a> () const </td></tr>
<tr class="memdesc:ae80bb21bbaf941125b39a17193996207"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the assigned website.  <a href="#ae80bb21bbaf941125b39a17193996207">More...</a><br /></td></tr>
<tr class="separator:ae80bb21bbaf941125b39a17193996207"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11a0ead3241c79dc248622301ec01aab"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker.html#a11a0ead3241c79dc248622301ec01aab">isRunning</a> () const </td></tr>
<tr class="memdesc:a11a0ead3241c79dc248622301ec01aab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if the worker is running.  <a href="#a11a0ead3241c79dc248622301ec01aab">More...</a><br /></td></tr>
<tr class="separator:a11a0ead3241c79dc248622301ec01aab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1de3b4fa459824a29d191ab7938fceb6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker.html#a1de3b4fa459824a29d191ab7938fceb6">setRunning</a> (bool running)</td></tr>
<tr class="memdesc:a1de3b4fa459824a29d191ab7938fceb6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets if the worker is running.  <a href="#a1de3b4fa459824a29d191ab7938fceb6">More...</a><br /></td></tr>
<tr class="separator:a1de3b4fa459824a29d191ab7938fceb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af23c52c0ea4afa0c3673521f9b910b7a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker.html#af23c52c0ea4afa0c3673521f9b910b7a">launch</a> ()</td></tr>
<tr class="memdesc:af23c52c0ea4afa0c3673521f9b910b7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Launches the worker.  <a href="#af23c52c0ea4afa0c3673521f9b910b7a">More...</a><br /></td></tr>
<tr class="separator:af23c52c0ea4afa0c3673521f9b910b7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63d0621a6539c802b8af6df2cc98bd66"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker.html#a63d0621a6539c802b8af6df2cc98bd66">terminate</a> ()</td></tr>
<tr class="memdesc:a63d0621a6539c802b8af6df2cc98bd66"><td class="mdescLeft">&#160;</td><td class="mdescRight">Terminates the worker.  <a href="#a63d0621a6539c802b8af6df2cc98bd66">More...</a><br /></td></tr>
<tr class="separator:a63d0621a6539c802b8af6df2cc98bd66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ddde9b14d3f5f8ef3cdea1cbfa1fee4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker.html#a5ddde9b14d3f5f8ef3cdea1cbfa1fee4">wait</a> ()</td></tr>
<tr class="memdesc:a5ddde9b14d3f5f8ef3cdea1cbfa1fee4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Wait until the worker finishes (this blocks the thread which executes this method so be carefull)  <a href="#a5ddde9b14d3f5f8ef3cdea1cbfa1fee4">More...</a><br /></td></tr>
<tr class="separator:a5ddde9b14d3f5f8ef3cdea1cbfa1fee4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c388b918a7dfd4c6ddf5d11f717a61c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crawler_1_1_worker.html#a4c388b918a7dfd4c6ddf5d11f717a61c">kill</a> ()</td></tr>
<tr class="memdesc:a4c388b918a7dfd4c6ddf5d11f717a61c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Kills the worker immediately.  <a href="#a4c388b918a7dfd4c6ddf5d11f717a61c">More...</a><br /></td></tr>
<tr class="separator:a4c388b918a7dfd4c6ddf5d11f717a61c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="_worker_8hpp_source.html#l00019">19</a> of file <a class="el" href="_worker_8hpp_source.html">Worker.hpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aa104c31810cb5cf5511225b1dcf8e79e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Crawler::Worker::Worker </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_crawler_1_1_worker_manager.html">Crawler::WorkerManager</a> &amp;&#160;</td>
          <td class="paramname"><em>workerManager</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">workerManager</td><td><a class="el" href="class_crawler_1_1_worker.html">Worker</a> manager the worker belongs to </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_worker_8cpp_source.html#l00010">10</a> of file <a class="el" href="_worker_8cpp_source.html">Worker.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a2939d4da20ac77b780909ce7d6ec382b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Crawler::Worker::Worker </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_crawler_1_1_worker.html">Worker</a> &amp;&#160;</td>
          <td class="paramname"><em>worker</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Copy constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">worker</td><td><a class="el" href="class_crawler_1_1_worker.html">Worker</a> which is copied </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a971eeab5ffda801b6045e4fe79e9ff0e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Crawler::Worker::Worker </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_crawler_1_1_worker.html">Worker</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>worker</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Move constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">worker</td><td><a class="el" href="class_crawler_1_1_worker.html">Worker</a> which is moved </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a8cffde69eb4e98a721f7166f16e51c07"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_crawler_1_1_website.html">Crawler::Website</a> *const Crawler::Worker::getWebsite </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the assigned website. </p>
<dl class="section return"><dt>Returns</dt><dd>Reference to the assigned website </dd></dl>

<p>Definition at line <a class="el" href="_worker_8cpp_source.html#l00026">26</a> of file <a class="el" href="_worker_8cpp_source.html">Worker.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae80bb21bbaf941125b39a17193996207"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_crawler_1_1_website.html">Crawler::Website</a> *const Crawler::Worker::getWebsite </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the assigned website. </p>
<dl class="section return"><dt>Returns</dt><dd>Reference to the assigned website </dd></dl>

<p>Definition at line <a class="el" href="_worker_8cpp_source.html#l00031">31</a> of file <a class="el" href="_worker_8cpp_source.html">Worker.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="abd9a803c234ccb0cf90c692e99186392"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_crawler_1_1_worker_manager.html">Crawler::WorkerManager</a> &amp; Crawler::Worker::getWorkerManager </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns reference to worker manager. </p>
<dl class="section return"><dt>Returns</dt><dd>Reference to worker manager </dd></dl>

<p>Definition at line <a class="el" href="_worker_8cpp_source.html#l00016">16</a> of file <a class="el" href="_worker_8cpp_source.html">Worker.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9b928f1df164a8bae91fb4805ff8721f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_crawler_1_1_worker_manager.html">Crawler::WorkerManager</a> &amp; Crawler::Worker::getWorkerManager </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns reference to worker manager. </p>
<dl class="section return"><dt>Returns</dt><dd>Reference to worker manager </dd></dl>

<p>Definition at line <a class="el" href="_worker_8cpp_source.html#l00021">21</a> of file <a class="el" href="_worker_8cpp_source.html">Worker.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a11a0ead3241c79dc248622301ec01aab"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Crawler::Worker::isRunning </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Checks if the worker is running. </p>
<dl class="section return"><dt>Returns</dt><dd>True if the worker is running </dd></dl>

<p>Definition at line <a class="el" href="_worker_8cpp_source.html#l00036">36</a> of file <a class="el" href="_worker_8cpp_source.html">Worker.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4c388b918a7dfd4c6ddf5d11f717a61c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Crawler::Worker::kill </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Kills the worker immediately. </p>

<p>Definition at line <a class="el" href="_worker_8cpp_source.html#l00065">65</a> of file <a class="el" href="_worker_8cpp_source.html">Worker.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="af23c52c0ea4afa0c3673521f9b910b7a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Crawler::Worker::launch </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Launches the worker. </p>

<p>Definition at line <a class="el" href="_worker_8cpp_source.html#l00047">47</a> of file <a class="el" href="_worker_8cpp_source.html">Worker.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ab0e0e7720897362f6cf040dea3a0f0ea"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_crawler_1_1_worker.html">Worker</a>&amp; Crawler::Worker::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_crawler_1_1_worker.html">Worker</a> &amp;&#160;</td>
          <td class="paramname"><em>worker</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Copy assignment operator. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">worker</td><td><a class="el" href="class_crawler_1_1_worker.html">Worker</a> which is copied </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Reference to this </dd></dl>

</div>
</div>
<a class="anchor" id="a3a53de929d2e4091555f775a6b62138b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_crawler_1_1_worker.html">Worker</a>&amp; Crawler::Worker::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_crawler_1_1_worker.html">Worker</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>Worker</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Move assignment operator. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">worker</td><td><a class="el" href="class_crawler_1_1_worker.html">Worker</a> which is moved </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Reference to this </dd></dl>

</div>
</div>
<a class="anchor" id="a1de3b4fa459824a29d191ab7938fceb6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Crawler::Worker::setRunning </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>running</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets if the worker is running. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">running</td><td>Value of running </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_worker_8cpp_source.html#l00041">41</a> of file <a class="el" href="_worker_8cpp_source.html">Worker.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a63d0621a6539c802b8af6df2cc98bd66"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Crawler::Worker::terminate </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Terminates the worker. </p>

<p>Definition at line <a class="el" href="_worker_8cpp_source.html#l00053">53</a> of file <a class="el" href="_worker_8cpp_source.html">Worker.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a5ddde9b14d3f5f8ef3cdea1cbfa1fee4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Crawler::Worker::wait </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Wait until the worker finishes (this blocks the thread which executes this method so be carefull) </p>

<p>Definition at line <a class="el" href="_worker_8cpp_source.html#l00059">59</a> of file <a class="el" href="_worker_8cpp_source.html">Worker.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>Source/Crawler/<a class="el" href="_worker_8hpp_source.html">Worker.hpp</a></li>
<li>Source/Crawler/<a class="el" href="_worker_8cpp_source.html">Worker.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_crawler.html">Crawler</a></li><li class="navelem"><a class="el" href="class_crawler_1_1_worker.html">Worker</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
  </ul>
</div>
</body>
</html>
